package example.designpattern.fsm.action;


import example.designpattern.fsm.StateContext;
import example.designpattern.fsm.event.AbstractEvent;
import example.designpattern.fsm.state.AbstractState;

@FunctionalInterface
public interface Action<T extends AbstractState> {
  AbstractEvent handle(StateContext context);
}